package com.ahuan.mapper;

import com.ahuan.domain.Module;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface RoleRightMapper {

    List<Module> selectRoleRightList(@Param("id") String id);

    Integer updateRoleRight(@Param("roleId") String roleId, @Param("moduleIds") List<String> moduleIds);
}
